package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-税率-税收制度对象 erp_king_base_tax_rate_system_info
 * @author wutao
 * @date 2024-08-20
 */
@TableName ("erp_king_base_tax_rate_system_info")
@ApiModel (value = "erp_king_base_tax_rate_system_info对象", description = "金蝶-税率-税收制度")
@Data
public class KingBaseTaxRateSystemEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 编码
     */
    @ApiModelProperty ("编码")
    @TableField ("doc_no")
    @Excel (name = "编码")
    private String docNo;

    /**
     * 名称
     */
    @ApiModelProperty ("名称")
    @TableField ("title")
    @Excel (name = "名称")
    private String title;

    /**
     * 描述
     */
    @ApiModelProperty ("描述")
    @TableField ("desc_info")
    @Excel (name = "描述")
    private String descInfo;

    /**
     * 地区
     */
    @ApiModelProperty ("地区")
    @TableField ("area_id")
    @Excel (name = "地区")
    private String areaId;

    /**
     * 生效日期
     */
    @ApiModelProperty ("生效日期")
    @TableField ("effective_date")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "生效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveDate;

    /**
     * 失效日期
     */
    @ApiModelProperty ("失效日期")
    @TableField ("expiring_date")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiringDate;

    /**
     * 是否禁用，1：正常；2：禁用
     */
    @ApiModelProperty ("是否禁用，1：正常；2：禁用")
    @TableField ("is_disabled")
    @Excel (name = "是否禁用，1：正常；2：禁用")
    private Integer isDisabled;

    /**
     * 禁用时间
     */
    @ApiModelProperty ("禁用时间")
    @TableField ("disabled_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "禁用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disabledTime;

    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新人")
    @TableField ("update_by")
    private String updateBy;

    @ApiModelProperty ("更新时间")
    @TableField ("update_time")
    private Date updateTime;

    @TableField ("is_send")
    private Integer isSend;

    @ApiModelProperty ("软删除")
    @TableField ("is_used")
    @Excel (name = "软删除")
    private Integer isUsed;

    @ApiModelProperty ("地区名称")
    @TableField (exist = false)
    private String areaName;

}